<?php
/**
 * index.php :: DBD MVC Bootstrap
 *
 * @package dbdMVC
 * @version 1.1
 * @author Don't Blink Design <info@dontblinkdesign.com>
 * @copyright Copyright (c) 2006-2007 by Don't Blink Design
 */
define("DBD_APP_DIR", realpath($_SERVER['DOCUMENT_ROOT']."/../dbdApp")."/");
define("DBD_MVC_DIR", realpath($_SERVER['DOCUMENT_ROOT']."/../dbdMVC")."/");

require_once(DBD_MVC_DIR."dbdMVC.php");

/**
 * Add paths to dbdLoader.
 */
//dbdLoader::addPath(realpath(DBD_APP_DIR."../dbdApp/common"));

/**
 * Allow phpinfo() call via dbdInfo.
 */
dbdMVC::exposePHPInfo();

/**
 * Run dbdMVC application.
 */
dbdMVC::run(DBD_APP_DIR);

/**
 * Log execution time of dbdMVC.
 */
//dbdMVC::logExecutionTime();
?>

